This function finds the index of an HDF data object's attribute given its attribute name. HDF_GR_FINDATTR returns the index of the attribute whose name is specified by the parameter attr_name for the object identified by the parameter obj_id.
Result = HDF_GR_FINDATTR(obj_id, attr_name)
Returns the index of the attribute if successful or FAIL (-1) otherwise.
Raster image identifier (ri_id), returned by HDF_GR_CREATE or HDF_GR_SELECT, or HDF GR interface identifier (gr_id), returned by HDF_GR_START.
Name of the attribute.
None
5.2 |
Introduced |